﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XF.Meeting.Entity.CommonEntity.wx
{
    public class Text
    {
        public Text(string content)
        {
            this.content = content;
        }
        /// <summary>
        /// 你的快递已到，请携带工卡前往邮件中心领取。   出发前可查看<a href="http://work.weixin.qq.com"> 邮件中心视频实况</a>，聪明避开排队。
        /// </summary>
        public string content { get; set; }
    }

    public class Message
    {
        public Message(Text text, string touser)
        {
            this.text = text;
            this.touser = touser;
    
        }
        /// <summary>
        /// 
        /// </summary>
        public string touser { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string toparty { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string totag { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string msgtype { get; set; } = "text";
        /// <summary>
        /// 
        /// </summary>
        public int agentid { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public Text text { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int safe { get; set; } = 0;
        /// <summary>
        /// 
        /// </summary>
        public int enable_id_trans { get; set; } = 0;
        /// <summary>
        /// 
        /// </summary>
        public int enable_duplicate_check { get; set; } = 0;
    }
}
